package aspect;

import org.aspectj.lang.ProceedingJoinPoint;

/**
 * @author DJJ_F
 * @version 1.0
 * @date 2025/01/19
 * @description 全xml的切面类
 */
public class TimeAspect {
    public void around(ProceedingJoinPoint joinPoint) throws Throwable {
        long begin = System.currentTimeMillis();
        joinPoint.proceed();
        long end = System.currentTimeMillis();
        System.out.println("total time: " + (end - begin));
    }
}
